package cl.mt.util.bd;
/**
 * Septiembre de 2004
 * @author Jorge Velasco
 */

public abstract class DatosConexion {

	// Para la BD
	protected static String Driver = "";
	protected static String User = "";
	protected static String Pwd = "";
	protected static String Url = "";
	protected static String JNDI_JDBC = "jdbc/mp_mc";
	/*
	 * Inicializa la Conexion a la BD.
	 */
	public static void setConnection(String driver, String url, String user, String pwd) throws Exception {
		Driver = driver;
		Url = url;
		User = user;
		Pwd = pwd;

	}

	public static void setJdbc(String jdbcName) {
		JNDI_JDBC = jdbcName;

	}

}
